package com.djl.mymall.mbg.service.impl;

import com.djl.mymall.mbg.entity.Brand;
import com.djl.mymall.mbg.mapper.BrandMapper;
import com.djl.mymall.mbg.service.IBrandService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 品牌表 服务实现类
 * </p>
 *
 * @author djl
 * @since 2022-01-06
 */
@Service
public class BrandServiceImpl extends ServiceImpl<BrandMapper, Brand> implements IBrandService {
    @Autowired
    private BrandMapper brandMapper;

    @Override
    public List<Brand> listAllBrand() {
        List<Brand> list=brandMapper.getAllBrandList();
        return list;
    }
}
